package com.example.demo.test.entity.many2one;

import com.example.demo.test.entity.many2one.Customer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 单向多对一
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Order {
    private Integer orderId;
    private String orderName;

    private Customer customer;
}
